home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 2.iso / programr / mathstud.zip / LOG2.M < prev    next >
Text File  |  1993-03-23  |  98b  |  6 lines

  1. function [y] = log2(x)
  2. %y=log2(x)
  3. %compute the logarithm, base 2, of x
  4.  
  5. y = log(x) / log(2);
  6.